package com.framework.pojo;

import java.io.Serializable;

/**
 * 角色权限关联表
 * @author Administrator
 */
public class RoleAuthority implements Serializable {

	private static final long serialVersionUID = -2033626378662404115L;
	
	private String id;						// 关联编号
	private Role role;						// 角色编号
	private Authority authority;			// 权限编号
	private int enabled = 0;				// 是否启用.  0: 禁用; 1: 正常
	
	public RoleAuthority() {
		
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public Authority getAuthority() {
		return authority;
	}

	public void setAuthority(Authority authority) {
		this.authority = authority;
	}

	public int getEnabled() {
		return enabled;
	}

	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}
	
	
}
